import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "home",
    component: () => import("@/views/home/home-index.vue"),
  },
  {
    path: "/share",
    name: "share",
    component: () => import("@/views/share-index/share-index.vue"),
  },
  {
    path: "/recruit",
    name: "recruit",
    component: () => import("@/views/recruit-index/recruit-index.vue"),
  },
  {
    path: "/home-it",
    name: "home-it",
    component: () => import("@/views/home-it/home-it.vue"),
  },
  {
    path: "/home-taxes",
    name: "home-taxes",
    component: () => import("@/views/home-taxes/home-taxes.vue"),
  },
];

const router = createRouter({
  history: createWebHashHistory(process.env.BASE_URL),
  routes,
});

export default router;
